package com.dolojia.javafxboot.model.service.impl;

import cn.hutool.json.JSONUtil;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dolojia.javafxboot.model.entity.User;
import com.dolojia.javafxboot.model.mapper.UserMapper;
import com.dolojia.javafxboot.model.service.UserService;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService {
    @Override
    public User getSysUserByName(String name) {
        System.out.println("UserServiceImpl.getSysUserByName:" + name);
        User user = baseMapper.getUser(name);
        System.out.println(JSONUtil.parse(user));
        return null;
    }

}
